<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础选择器-类选择器(及多类的使用)</title>
    <style>
        .red {
            color: red;
            /* font-family 字体 */
            font-family: 微软雅黑;
            /* font-weight字号大小 */
            font-size: 20px;
            /* font-weight粗细 */
            font-weight: 700;
            /* font-style斜体 */
            font-style: italic;
            /* align盒子里面的文字对齐(center/left/right) */
            text-align: left;
            /* decoration装饰线(underline/line-through/overline)*/
            text-decoration: underline;
            /* indent文本缩进 2em当前元素文字2个字符距离*/
            text-indent: 2em;
            /* 行间距（上间距+文本高度+下间距） */
            line-height: 25px;
        }

        .green {
            color: green;
        }

        .pink {
            color: pink;
        }

        .div-red {
            background-color: red;

        }

        .div-box-size {
            width: 100px;
            height: 100px;
        }

        .div-green {
            background-color: green;
        }
    </style>
</head>

<body>
    <ul>
        <li class="red">冰雨</li>
        <li>来生缘</li>
        <li class="pink">李香兰</li>
        <li>生僻字</li>
        <li class="green">江南style</li>
    </ul>

    <div class="div-red div-box-size"></div>
    <div class="div-green div-box-size"></div>
    <div class="div-red div-box-size"></div>
</body>

</html>